home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / arexx / rxtrk386.rdm < prev    next >
Text File  |  1996-05-20  |  6KB  |  214 lines

  1. Short:    ARexx function library, V38.6
  2. Author:   j_kohrmeyer@wilam.north.de (Juergen Kohrmeyer)
  3. Uploader: mortimer@art-line.de
  4. Version:  38.6
  5. Type:     util/rexx
  6.  
  7. 'rexxtricks.library' 38.6 (12.4.96)
  8. ***********************************
  9.  
  10. 'rexxtricks.library' is an ARexx function library. The functions cannot
  11. be assigned to a special purpose, it's just a collection of functions I
  12. missed when programming with ARexx. Let me know if you have any ideas for
  13. other useful functions.
  14.  
  15.  
  16.  
  17. Functions of 'rexxtricks.library' 38.6 (12.4.96)
  18. ************************************************
  19.  
  20. AmigaDOS-functions
  21.  
  22. * GETENV()                 Get environment variable
  23. * SETENV()                 Set environment variable
  24. * UNSETENV()               Remove environment variable
  25.  
  26. * PATHPART()               Extract dirname from path
  27. * FILEPART()               Extract filename from path
  28. * MAKEPATH()               Append a filename to the end of a path
  29.  
  30. * SUFFIXPART()             Get suffix of a filename
  31. * MAKESUFFIX()             Append a suffix to the end of a filename
  32.  
  33. * GETCOMMENT()             Get comment of a file
  34. * SETCOMMENT()             Set comment of a file
  35.  
  36. * GETPROTECTION()          Get protection flags of a file
  37. * SETPROTECTION()          Set protection flags of a file
  38.  
  39. * MATCHPATTERN()           Check a string for pattern
  40. * SEARCHPATTERN()          Search for pattern in a textfile
  41.  
  42. * GETKEY()                 Wait for a key at console window
  43.  
  44. * GETDIR()                 Read directory into a compound variable
  45.  
  46. * READFILE()               Read a textfile into a compound variable
  47. * WRITEFILE()              Write contents of a compound variable to a textfile
  48. * READLINES()              Read a part of a textfile into a compound variable
  49. * WRITELINES()             Replace or insert lines in a textfile
  50.  
  51.  
  52. SCSI-functions
  53.  
  54. * SCSI_DEVICETYPE()        Get type of a SCSI-Device, DISK, TAPE etc.
  55. * SCSI_MANUFACTURER()      Get manufacturer of a SCSI-Device
  56. * SCSI_PRODUCT()           Get product-string of a SCSI-Device
  57. * SCSI_REVISION()          Get revision-string of a SCSI-Device
  58. * SCSI_TESTREADY()         Test whether a SCSI-Device is ready or not
  59.  
  60.  
  61. Clipboard-functions
  62.  
  63. * READCLIPBOARD()          Read text from clipboard
  64. * WRITECLIPBOARD()         Write text to clipboard
  65.  
  66.  
  67. List-functions
  68.  
  69. * QSORT()                  Sort list with QuickSort
  70. * BSEARCH()                Search string with Binary Search
  71. * LSEARCH()                Search string with Linear Search
  72.  
  73. * STEMCOPY()               Copy elements of a compound variable
  74. * STEMINSERT()             Insert elements in a compound variable
  75. * STEMREMOVE()             Remove elements of a compound variable
  76.  
  77. * VIEWLIST()               Display list in a listview-window
  78.  
  79.  
  80. Publicscreen-functions
  81.  
  82. * GETDEFAULTPUBSCREEN()    Get name of the default-pubcreen
  83. * SETDEFAULTPUBSCREEN()    Set new default pubscreen
  84.  
  85. * GETPUBSCREENMODES()      Get current pubscreen modes
  86. * SETPUBSCREENMODES()      Set new pubscreen modes
  87.  
  88. * PUBSCREENTOFRONT()       Move a pubscreen to the front
  89. * PUBSCREENTOBACK()        Move a pubscreen to the back
  90.  
  91. * PUBSCREENLIST()          Get list of all pubscreens currently open
  92.  
  93. * BEEP()                   Beep screens
  94.  
  95.  
  96. Icon-functions
  97.  
  98. * GETTOOLTYPEVALUE()       Get the value of a tooltype
  99. * SETTOOLTYPEVALUE()       Set the value of a tooltype
  100.  
  101. * GETTOOLTYPES()           Get all tooltypes of an icon
  102. * SETTOOLTYPES()           Set all tooltypes of an icon
  103.  
  104. * GETDEFAULTTOOL()         Get default tool of an icon
  105. * SETDEFAULTTOOL()         Set default tool of an icon
  106.  
  107. * GETSTACK()               Get the stacksize of an icon
  108. * SETSTACK()               Set the stacksize of an icon
  109.  
  110. * CREATEICON()             Create a new Icon
  111. * WBINFO()                 Call the icon information window from workbench (OS3.0+)
  112.  
  113.  
  114. Misc functions
  115.  
  116. * WHATIS()                 Get filetype, uses 'whatis.library V4.0+'
  117. * WHATISTYPES()            Get a list of all currently known filetypes
  118.  
  119. * FILEID_IDENTIFY()        Get filetype, uses 'FileID.library'
  120. * FILEID_GETHIGHID()       Get maximum filetype-ID of 'FileID.library'
  121. * FILEID_GETIDSTRING()     Get the description of a filtype-ID
  122. * FILEID_GETTYPES()        Get a list of all currently known filetypes
  123.  
  124. * UUDECODE()               uudecode a file
  125. * UUENCODE()               uuencode a file
  126.  
  127. * CRC32()                  Calculate 32-Bit CRC checksum of a file
  128.  
  129. * COUNTCHARS()             Count chars in a string
  130.  
  131. * RAND()                   Get a random number
  132.  
  133. * REXXTRICKSVERSION()      Get version of rexxtricks.library
  134.  
  135.  
  136.  
  137. ARexx programs
  138. **************
  139.  
  140. The archive contains two utilities programmed in Arexx:
  141.  
  142. * FindGUI
  143.  
  144.   A GUI for the program 'Find' from 'Ralph Seichter', with many
  145.   features but also easy to use.
  146.  
  147.   This excellent utility was programmed by 'Nils Görs'.
  148.  
  149. * RDBBackup
  150.  
  151.   A GUI for the program 'ReadRDB' from 'G‚rard Cornu', makes it
  152.   very easy to backup the 'RigidDiskBlock' of all connected
  153.   harddisks.
  154.  
  155.  
  156.  
  157. Changes in version 38.5
  158. ***********************
  159.  
  160. * New function 'READLINES'
  161.  
  162. * New function 'WRITELINES'
  163.  
  164. * New function 'STEMCOPY'
  165.  
  166. * New function 'STEMREMOVE'
  167.  
  168. * New function 'RAND'
  169.  
  170. * New function 'READCLIPBOARD'
  171.  
  172. * New function 'WRITECLIPBOARD'
  173.  
  174. * New function 'SCSI_MANUFACTURER'
  175.  
  176. * New function 'SCSI_PRODUCT'
  177.  
  178. * New function 'SCSI_REVISION'
  179.  
  180. * New function 'SCSI_DEVICETYPE'
  181.  
  182. * New function 'SCSI_TESTREADY'
  183.  
  184.  
  185.  
  186. Changes in version 38.6
  187. ***********************
  188.  
  189. * English documentation
  190.  
  191. * Fixed a bug in the function 'VIEWLIST', MouseBlankers didn't work
  192.   if the window was active
  193.  
  194. * New options for function 'QSORT'
  195.  
  196. * From now on the function 'SEARCHPATTERN' stores the found line in
  197.   the ARexx variable 'RESULT'
  198.  
  199. * New function 'FILEID_IDENTIFY'
  200.  
  201. * New function 'FILEID_GETHIGHID'
  202.  
  203. * New function 'FILEID_GETIDSTRING'
  204.  
  205. * New function 'FILEID_GETTYPES'
  206.  
  207. * New function 'UUDECODE'
  208.  
  209. * New function 'UUENCODE'
  210.  
  211. * New function 'STEMINSERT'
  212.  
  213. * New function 'GETDIR'
  214.